home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 44 79 6e 61 6d 69 63 | 20 73 74 72 69 6e 67 73 | Dynamic| strings|
|00000090| 20 66 6f 72 20 43 3f 0a | 44 61 74 65 3a 20 53 61 | for C?.|Date: Sa|
|000000a0| 74 2c 20 31 30 20 46 65 | 62 20 31 39 39 36 20 31 |t, 10 Fe|b 1996 1|
|000000b0| 39 3a 34 36 3a 33 36 20 | 2d 30 36 30 30 0a 4f 72 |9:46:36 |-0600.Or|
|000000c0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 55 6e 69 76 |ganizati|on: Univ|
|000000d0| 65 72 73 69 74 79 20 6f | 66 20 49 6f 77 61 2c 20 |ersity o|f Iowa, |
|000000e0| 49 6f 77 61 20 43 69 74 | 79 2c 20 49 41 2c 20 55 |Iowa Cit|y, IA, U|
|000000f0| 53 41 0a 44 69 73 74 72 | 69 62 75 74 69 6f 6e 3a |SA.Distr|ibution:|
|00000100| 20 77 6f 72 6c 64 0a 4d | 65 73 73 61 67 65 2d 49 | world.M|essage-I|
|00000110| 44 3a 20 3c 50 69 6e 65 | 2e 41 33 32 2e 33 2e 39 |D: <Pine|.A32.3.9|
|00000120| 31 2e 39 36 30 32 31 30 | 31 39 34 30 35 31 2e 34 |1.960210|194051.4|
|00000130| 35 39 36 39 45 2d 31 30 | 30 30 30 30 40 62 6c 61 |5969E-10|0000@bla|
|00000140| 63 6b 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ck.weeg.|uiowa.ed|
|00000150| 75 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |u>.Refer|ences: <|
|00000160| 31 39 39 36 46 65 62 31 | 30 2e 32 30 30 30 35 34 |1996Feb1|0.200054|
|00000170| 2e 31 32 39 36 36 30 40 | 75 61 31 69 78 2e 75 61 |.129660@|ua1ix.ua|
|00000180| 2e 65 64 75 3e 0a 4e 4e | 54 50 2d 50 6f 73 74 69 |.edu>.NN|TP-Posti|
|00000190| 6e 67 2d 48 6f 73 74 3a | 20 62 6c 61 63 6b 2e 77 |ng-Host:| black.w|
|000001a0| 65 65 67 2e 75 69 6f 77 | 61 2e 65 64 75 0a 4d 69 |eeg.uiow|a.edu.Mi|
|000001b0| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|000001c0| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 54 45 |Content-|Type: TE|
|000001d0| 58 54 2f 50 4c 41 49 4e | 3b 20 63 68 61 72 73 65 |XT/PLAIN|; charse|
|000001e0| 74 3d 55 53 2d 41 53 43 | 49 49 0a 58 2d 53 65 6e |t=US-ASC|II.X-Sen|
|000001f0| 64 65 72 3a 20 72 6f 62 | 69 6e 73 6f 6e 40 62 6c |der: rob|inson@bl|
|00000200| 61 63 6b 2e 77 65 65 67 | 2e 75 69 6f 77 61 2e 65 |ack.weeg|.uiowa.e|
|00000210| 64 75 0a 49 6e 2d 52 65 | 70 6c 79 2d 54 6f 3a 20 |du.In-Re|ply-To: |
|00000220| 3c 31 39 39 36 46 65 62 | 31 30 2e 32 30 30 30 35 |<1996Feb|10.20005|
|00000230| 34 2e 31 32 39 36 36 30 | 40 75 61 31 69 78 2e 75 |4.129660|@ua1ix.u|
|00000240| 61 2e 65 64 75 3e 20 0a | 0a 4f 6e 20 53 61 74 2c |a.edu> .|.On Sat,|
|00000250| 20 31 30 20 46 65 62 20 | 31 39 39 36 2c 20 4a 65 | 10 Feb |1996, Je|
|00000260| 66 66 72 65 79 20 53 2e | 20 54 75 6c 6c 6f 73 20 |ffrey S.| Tullos |
|00000270| 77 72 6f 74 65 3a 0a 0a | 3e 20 49 27 6d 20 6e 65 |wrote:..|> I'm ne|
|00000280| 77 20 74 6f 20 43 2c 20 | 73 6f 20 70 6c 65 61 73 |w to C, |so pleas|
|00000290| 65 20 62 65 20 67 65 6e | 74 6c 65 20 69 66 20 74 |e be gen|tle if t|
|000002a0| 68 69 73 20 69 73 20 61 | 20 64 75 6d 62 20 71 75 |his is a| dumb qu|
|000002b0| 65 73 74 69 6f 6e 2e 20 | 20 3a 29 0a 3e 20 0a 3e |estion. | :).> .>|
|000002c0| 20 43 61 6e 20 73 6f 6d | 65 6f 6e 65 20 70 6f 69 | Can som|eone poi|
|000002d0| 6e 74 20 6d 65 20 74 6f | 20 61 20 6c 69 62 72 61 |nt me to| a libra|
|000002e0| 72 79 20 6f 72 20 73 6f | 75 72 63 65 20 63 6f 64 |ry or so|urce cod|
|000002f0| 65 20 28 43 20 6f 72 20 | 61 73 73 65 6d 62 6c 79 |e (C or |assembly|
|00000300| 20 6c 61 6e 67 75 61 67 | 65 29 0a 3e 20 74 68 61 | languag|e).> tha|
|00000310| 74 20 61 6c 6c 6f 77 73 | 20 6f 6e 65 20 74 6f 20 |t allows| one to |
|00000320| 69 6d 70 6c 65 6d 65 6e | 74 20 64 79 6e 61 6d 69 |implemen|t dynami|
|00000330| 63 20 73 74 72 69 6e 67 | 73 2c 20 6c 69 6b 65 20 |c string|s, like |
|00000340| 69 6e 20 62 61 73 69 63 | 2e 20 20 49 27 6d 0a 3e |in basic|. I'm.>|
|00000350| 20 65 73 70 65 63 69 61 | 6c 6c 79 20 69 6e 74 65 | especia|lly inte|
|00000360| 72 65 73 74 65 64 20 69 | 6e 20 76 61 72 69 61 62 |rested i|n variab|
|00000370| 6c 65 2d 6c 65 6e 67 74 | 68 20 66 61 72 2d 6d 65 |le-lengt|h far-me|
|00000380| 6d 6f 72 79 20 73 74 72 | 69 6e 67 73 2e 20 20 54 |mory str|ings. T|
|00000390| 68 61 6e 6b 73 20 66 6f | 72 0a 3e 20 74 68 65 20 |hanks fo|r.> the |
|000003a0| 68 65 6c 70 21 0a 0a 20 | 20 59 6f 75 20 68 61 76 |help!.. | You hav|
|000003b0| 65 20 74 6f 20 64 6f 20 | 69 74 20 79 6f 75 72 73 |e to do |it yours|
|000003c0| 65 6c 66 2e 20 20 42 61 | 73 69 63 61 6c 6c 79 20 |elf. Ba|sically |
|000003d0| 69 6d 61 67 69 6e 65 20 | 74 68 61 74 20 79 6f 75 |imagine |that you|
|000003e0| 27 72 65 20 77 72 69 74 | 69 6e 67 20 61 20 0a 42 |'re writ|ing a .B|
|000003f0| 41 53 49 43 20 69 6e 74 | 65 72 70 72 65 74 65 72 |ASIC int|erpreter|
|00000400| 20 28 6f 72 20 63 6f 6d | 70 69 6c 65 72 29 20 61 | (or com|piler) a|
|00000410| 6e 64 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 5f |nd you w|ant to _|
|00000420| 69 6d 70 6c 65 6d 65 6e | 74 5f 20 76 61 72 69 61 |implemen|t_ varia|
|00000430| 62 6c 65 2d 6c 65 6e 67 | 74 68 20 0a 73 74 72 69 |ble-leng|th .stri|
|00000440| 6e 67 73 2e 20 20 54 68 | 65 20 75 73 75 61 6c 20 |ngs. Th|e usual |
|00000450| 77 61 79 20 69 6e 20 43 | 20 69 73 20 74 6f 20 75 |way in C| is to u|
|00000460| 73 65 20 72 65 61 6c 6c | 6f 63 28 29 20 74 6f 20 |se reall|oc() to |
|00000470| 64 79 6e 61 6d 69 63 61 | 6c 6c 79 20 72 65 61 73 |dynamica|lly reas|
|00000480| 73 69 67 6e 20 0a 28 61 | 6e 64 20 72 65 73 69 7a |sign .(a|nd resiz|
|00000490| 65 29 20 74 68 65 20 62 | 6c 6f 63 6b 20 6f 66 20 |e) the b|lock of |
|000004a0| 6d 65 6d 6f 72 79 20 75 | 73 65 64 20 62 79 20 74 |memory u|sed by t|
|000004b0| 68 65 20 73 74 72 69 6e | 67 2e 20 20 54 68 65 20 |he strin|g. The |
|000004c0| 6c 61 7a 79 20 77 61 79 | 20 69 73 20 74 6f 20 0a |lazy way| is to .|
|000004d0| 64 65 63 6c 61 72 65 20 | 61 20 72 65 61 6c 6c 79 |declare |a really|
|000004e0| 20 62 69 67 20 61 72 72 | 61 79 20 61 6e 64 20 73 | big arr|ay and s|
|000004f0| 65 74 20 61 6e 20 75 70 | 70 65 72 20 6c 69 6d 69 |et an up|per limi|
|00000500| 74 20 6f 6e 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |t on the| size of|
|00000510| 20 73 74 72 69 6e 67 73 | 2e 0a 20 20 46 61 72 2d | strings|.. Far-|
|00000520| 6d 65 6d 6f 72 79 20 69 | 73 20 61 20 44 4f 53 20 |memory i|s a DOS |
|00000530| 61 62 65 72 72 61 74 69 | 6f 6e 20 74 68 61 74 20 |aberrati|on that |
|00000540| 43 20 64 6f 65 73 6e 27 | 74 20 6b 6e 6f 77 20 61 |C doesn'|t know a|
|00000550| 62 6f 75 74 2e 20 20 51 | 75 65 73 74 69 6f 6e 73 |bout. Q|uestions|
|00000560| 20 0a 61 62 6f 75 74 20 | 6e 65 61 72 20 61 6e 64 | .about |near and|
|00000570| 20 66 61 72 20 61 6e 64 | 20 64 69 73 74 61 6e 74 | far and| distant|
|00000580| 20 61 6e 64 20 69 6e 74 | 65 72 67 61 6c 61 63 74 | and int|ergalact|
|00000590| 69 63 20 6d 65 6d 6f 72 | 79 20 61 72 65 20 61 70 |ic memor|y are ap|
|000005a0| 70 72 6f 70 72 69 61 74 | 65 20 0a 69 6e 20 63 6f |propriat|e .in co|
|000005b0| 6d 70 2e 6f 73 2e 6d 73 | 64 6f 73 2e 70 72 6f 67 |mp.os.ms|dos.prog|
|000005c0| 72 61 6d 6d 65 72 2e 2a | 20 61 6e 64 20 63 6f 6d |rammer.*| and com|
|000005d0| 70 2e 6f 73 2e 6d 73 2d | 77 69 6e 64 6f 77 73 2e |p.os.ms-|windows.|
|000005e0| 70 72 6f 67 72 61 6d 6d | 65 72 2e 2a 2e 0a 0a 2f |programm|er.*.../|
|000005f0| 2a 2a 4a 61 6d 65 73 20 | 52 6f 62 69 6e 73 6f 6e |**James |Robinson|
|00000600| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000610| 2a 2a 2a 2a 2a 2a 2a 20 | 20 20 20 20 20 20 20 20 |******* | |
|00000620| 20 20 20 0a 20 20 22 41 | 6e 20 69 6d 70 6f 72 74 | . "A|n import|
|00000630| 61 6e 74 20 67 6f 61 6c | 20 6f 66 20 61 6c 6d 6f |ant goal| of almo|
|00000640| 73 74 20 65 76 65 72 79 | 20 67 72 61 70 68 69 63 |st every| graphic|
|00000650| 73 20 70 72 6f 67 72 61 | 6d 20 69 73 20 74 6f 20 |s progra|m is to |
|00000660| 64 72 61 77 20 70 69 63 | 74 75 72 65 73 20 6f 6e |draw pic|tures on|
|00000670| 0a 20 74 68 65 20 73 63 | 72 65 65 6e 2e 22 20 20 |. the sc|reen." |
|00000680| 20 20 2d 2d 20 4e 65 69 | 64 65 72 2c 20 44 61 76 | -- Nei|der, Dav|
|00000690| 69 73 20 26 20 57 6f 6f | 2c 20 5f 4f 70 65 6e 47 |is & Woo|, _OpenG|
|000006a0| 4c 5f 50 72 6f 67 72 61 | 6d 6d 69 6e 67 5f 47 75 |L_Progra|mming_Gu|
|000006b0| 69 64 65 5f 2c 20 43 68 | 61 70 74 65 72 20 31 30 |ide_, Ch|apter 10|
|000006c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006e0| 20 20 20 20 20 20 20 20 | 2a 2a 2a 2a 2a 2a 2a 2a | |********|
|000006f0| 2a 2a 2a 2a 2a 6a 61 6d | 65 73 2d 72 6f 62 69 6e |*****jam|es-robin|
|00000700| 73 6f 6e 40 75 69 6f 77 | 61 2e 65 64 75 2a 2a 2f |son@uiow|a.edu**/|
|00000710| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+